/**
 * @Title: practiceDao.java
 * @Package com.car.dal.dao.practice
 * @Description: TODO
 * Copyright: Copyright (c) 2016
 * Company:
 * @author yxj
 * @date 2016年6月9日 下午7:14:21
 * @version V1.0
 */
package com.car.dal.dao.goods;

import java.util.List;

import com.car.bean.GridObj;
import com.car.bean.PageObj;
import com.car.dal.dao.ibatis.CommonDaoInterface;
import com.car.dal.object.TgGoods;
import com.car.util.Page;

public interface TgGoodsDao extends CommonDaoInterface<TgGoods, Long> {

    public GridObj GetList(TgGoods goods, PageObj pageObj);

    public Integer getGoodsCountByType(TgGoods goods);

    public List<TgGoods> getGoodsByType(TgGoods goods, Page page);


    /*我的申请*/
    public Integer getMyGoodsCountByType(TgGoods goods);

    public List<TgGoods> getMyGoodsByType(TgGoods goods, Page page);

    public List<TgGoods> getGoodsNameByGood(TgGoods goods, Page page);

    public List<TgGoods> getGoodsByTypeGoodNameId(TgGoods tgGoods);
}
